package com.taxinfo.pojo.dto;

import org.springframework.util.StringUtils;

import java.io.Serializable;

/**
 * <p>
 *  标准科目表
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
public class StandardSubDto implements Serializable {


    /**
     * 主键
     */
//    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 科目编码
     */
    private String subNo;

    /**
     * 父级科目编码
     */
    private String pSubNo;

    /**
     * 会计科目名称
     */
    private String subName;


    public String getSubArea() {
        return subArea;
    }

    public void setSubArea(String subArea) {
        this.subArea = subArea;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 会计类型
     */
    private String subType;

    public String getDecType() {
        return decType;
    }

    public void setDecType(String decType) {
        this.decType = decType;
    }

    /**
     * 申报类型
     */
    private String decType;

    /**
     * 科目范围
     */
    private String subArea;

    /**
     * 备注说明
     */
    private String memo;

    public String getTaxDecNo() {
        return taxDecNo;
    }

    public void setTaxDecNo(String taxDecNo) {
        this.taxDecNo = taxDecNo;
    }

    public String getTaxSubName() {
        return taxSubName;
    }

    public void setTaxSubName(String taxSubName) {
        this.taxSubName = taxSubName;
    }

    /**
     * 税务申报-科目编码
     */
    private String taxDecNo;

    /**
     * 税务申报-科目名称
     */
    private String taxSubName;

    public String getYearCol() {
        return yearCol;
    }

    public void setYearCol(String yearCol) {
        this.yearCol = yearCol;
    }

    public String getMonthCol() {
        return monthCol;
    }

    public void setMonthCol(String monthCol) {
        this.monthCol = monthCol;
    }

    public String getQuarCol() {
        return quarCol;
    }

    public void setQuarCol(String quarCol) {
        this.quarCol = quarCol;
    }

    /**
     * 年度余额取值列
     */
    private String yearCol;

    /**
     * 月度余额取值列
     */
    private String monthCol;

    /**
     * 季度余额取值列
     */
    private String quarCol;


    public String getPSubNo() {
        if(StringUtils.isEmpty(pSubNo)){
            return "";
        }
        return pSubNo;
    }

    public void setPSubNo(String pSubNo) {
        this.pSubNo = pSubNo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubNo() {
        return subNo;
    }

    public void setSubNo(String subNo) {
        this.subNo = subNo;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }
}
